<tagLib name="html" />

<include file="Public:header" />

<div class="container" id="cpcontainer">
    <h3>{$Think.lang.cron.edit_cron} :: {$rs.method_name}</h3>
    <form name="cpform" method="post" action="__URL__/editCron">
    <input type="hidden" name="op" value="save" />
    <input type="hidden" name="cron_id" value="{$rs.cron_id}" />
    <table class="tb tb2">
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.cron.cron_day}</td></tr>
        <tr>
            <td class="vtop rowform">
            <html:select name="day" options="dayOptions" selected="daySelected" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.cron.cron_weekday}</td></tr>
        <tr>
            <td class="vtop rowform">
            <html:select name="weekday" options="weekdayOptions" selected="weekdaySelected" /></td>
            <td class="vtop tips2">{$Think.lang.cron.cron_weekday_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.cron.cron_hour}</td></tr>
        <tr>
            <td class="vtop rowform">
            <html:select name="hour" options="hourOptions" selected="hourSelected" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.cron.cron_minute}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="minute" value="{$rs.minute}" type="text" class="txt" /></td>
            <td class="vtop tips2">{$Think.lang.cron.cron_minute_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.cron.cron_method_name}:</td></tr>
        <tr>
            <td class="vtop rowform"><input name="method_name" value="{$rs.method_name}" type="text" class="txt" /></td>
            <td class="vtop tips2">{$Think.lang.cron.cron_method_name_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.description}:</td></tr>
        <tr>
            <td class="vtop rowform"><textarea name="description">{$rs.description}</textarea></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.cron.cron_enable}:</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="status" radios="statusRadios" checked="statusChecked" />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="15"><div class="fixsel"><input class="btn" type="submit" value="{$Think.lang.submit}" /></div></td></tr>
    </table>
    </form>
</div>

<include file="Public:footer" />
